package spring_aspectj;

import org.apache.catalina.core.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test {

	public static void main(String[] args) {
		
		   String s = "spring_aspectj/bean1.xml";
           ClassPathXmlApplicationContext a = new ClassPathXmlApplicationContext(s);
           UserDao b = (UserDao) a.getBean("userDao");
           b.Eat();
           b.Say();
           
	}
}
   